# Dreams have to come true after all
from flask import Blueprint
from flask_restful import Api

from comment.utils.output import output_json

letter_bp = Blueprint('notify', __name__, url_prefix='/notify')  # 创建蓝图
letter_api = Api(letter_bp)
# 装饰器
letter_api.representation('application/json')(output_json)
# 加载当前模块
from Financial.resource.letter.letter_resource import Letter

letter_api.add_resource(Letter, '/message', endpoint='message')
